package com.ming.transaction.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 日志管理
 * </p>
 *
 * @author 陈仕健
 * @since 2023-05-08
 */

@Data
@TableName("tt_dialy")
@ApiModel(value = "Dialy对象", description = "日志管理")
public class Dialy implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间",width = 30)
    private LocalDateTime createDate;

    @ApiModelProperty("修改时间")
    @Excel(name = "修改时间",width = 30)
    private LocalDateTime modifyDate;

    @ApiModelProperty("控制器方法")
    @Excel(name = "控制器方法",width = 15)
    private String conmethod;

    @ApiModelProperty("执行方法")
    @Excel(name = "执行方法",width = 10)
    private String method;

    @ApiModelProperty("参数")
    @Excel(name = "请求参数",width = 50)
    private String params;

    @ApiModelProperty("主机")
    @Excel(name = "请求主机",width = 20)
    private String host;

    @ApiModelProperty("地址")
    @Excel(name = "访问地址",width = 30)
    private String address;

    @ApiModelProperty("状态")
    @Excel(name = "操作状态",width = 5)
    private String status;

    @ApiModelProperty("操作用户")
    @Excel(name = "操作用户",width = 10)
    private String unumber;

}
